package engine.Astar
{

	/**
	 * ...
	 * @author zane
	 */
	public class Node
	{
		
		public var x:int;
		public var y:int;
		
		public var f:Number;
		public var g:Number;
		public var h:Number;
		
		public var expense:Number;
		public var nodeMutipler:Number;
		public var walkAble:Boolean ;
		
		public var parent:Node;
		public var visited:Boolean = false;

		public var version:int;
		public function Node() 
		{
			walkAble = true;
		}
		
		
		public function reset():void {
			f = 0; g = 0; h = 0;
			expense = 0; nodeMutipler = 0;
			x = 0; y = 0; walkAble = true;
			visited = false;
		}
		
	
	}

}